/**
 * Beispiel um das Lesen von Schleifen zu Üben
 * @author henry.freye@mcgym.de
 *
 */

public class SchleifenLesen02 {

	/**
	 * @param args - bleiben ungenutzt
	 */
	public static void main(String[] args) {
		int anz = 5;
		for (int x = 1; x <= anz; x++){
			System.out.print(x+":");
			for (int y = 1; y <= anz; y++){
				if (x == y){
					System.out.print("*");
				}else{
					System.out.print("+");
				}//end else
			}//end for b
			System.out.println("");
		}//end for a
	}//end of main
}//end of class
